﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020013F9 RID: 5113
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyGamePlayStartScRsp : IMessage<TrainPartyGamePlayStartScRsp>, IMessage, IEquatable<TrainPartyGamePlayStartScRsp>, IDeepCloneable<TrainPartyGamePlayStartScRsp>, IBufferMessage
	{
		// Token: 0x1700407F RID: 16511
		// (get) Token: 0x0600E505 RID: 58629 RVA: 0x00264897 File Offset: 0x00262A97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyGamePlayStartScRsp> Parser
		{
			get
			{
				return TrainPartyGamePlayStartScRsp._parser;
			}
		}

		// Token: 0x17004080 RID: 16512
		// (get) Token: 0x0600E506 RID: 58630 RVA: 0x0026489E File Offset: 0x00262A9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyGamePlayStartScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004081 RID: 16513
		// (get) Token: 0x0600E507 RID: 58631 RVA: 0x002648B0 File Offset: 0x00262AB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyGamePlayStartScRsp.Descriptor;
			}
		}

		// Token: 0x0600E508 RID: 58632 RVA: 0x002648B7 File Offset: 0x00262AB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGamePlayStartScRsp()
		{
		}

		// Token: 0x0600E509 RID: 58633 RVA: 0x002648C0 File Offset: 0x00262AC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGamePlayStartScRsp(TrainPartyGamePlayStartScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.oNBLCJEGCKF_ = ((other.oNBLCJEGCKF_ != null) ? other.oNBLCJEGCKF_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E50A RID: 58634 RVA: 0x0026490C File Offset: 0x00262B0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGamePlayStartScRsp Clone()
		{
			return new TrainPartyGamePlayStartScRsp(this);
		}

		// Token: 0x17004082 RID: 16514
		// (get) Token: 0x0600E50B RID: 58635 RVA: 0x00264914 File Offset: 0x00262B14
		// (set) Token: 0x0600E50C RID: 58636 RVA: 0x0026491C File Offset: 0x00262B1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17004083 RID: 16515
		// (get) Token: 0x0600E50D RID: 58637 RVA: 0x00264925 File Offset: 0x00262B25
		// (set) Token: 0x0600E50E RID: 58638 RVA: 0x0026492D File Offset: 0x00262B2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyGameInfo ONBLCJEGCKF
		{
			get
			{
				return this.oNBLCJEGCKF_;
			}
			set
			{
				this.oNBLCJEGCKF_ = value;
			}
		}

		// Token: 0x0600E50F RID: 58639 RVA: 0x00264936 File Offset: 0x00262B36
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyGamePlayStartScRsp);
		}

		// Token: 0x0600E510 RID: 58640 RVA: 0x00264944 File Offset: 0x00262B44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyGamePlayStartScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.ONBLCJEGCKF, other.ONBLCJEGCKF) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E511 RID: 58641 RVA: 0x00264994 File Offset: 0x00262B94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.oNBLCJEGCKF_ != null)
			{
				num ^= this.ONBLCJEGCKF.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E512 RID: 58642 RVA: 0x002649E9 File Offset: 0x00262BE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E513 RID: 58643 RVA: 0x002649F1 File Offset: 0x00262BF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E514 RID: 58644 RVA: 0x002649FC File Offset: 0x00262BFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.oNBLCJEGCKF_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.ONBLCJEGCKF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E515 RID: 58645 RVA: 0x00264A58 File Offset: 0x00262C58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.oNBLCJEGCKF_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.ONBLCJEGCKF);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E516 RID: 58646 RVA: 0x00264AB0 File Offset: 0x00262CB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyGamePlayStartScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.oNBLCJEGCKF_ != null)
			{
				if (this.oNBLCJEGCKF_ == null)
				{
					this.ONBLCJEGCKF = new TrainPartyGameInfo();
				}
				this.ONBLCJEGCKF.MergeFrom(other.ONBLCJEGCKF);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E517 RID: 58647 RVA: 0x00264B18 File Offset: 0x00262D18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E518 RID: 58648 RVA: 0x00264B24 File Offset: 0x00262D24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 106U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.oNBLCJEGCKF_ == null)
						{
							this.ONBLCJEGCKF = new TrainPartyGameInfo();
						}
						input.ReadMessage(this.ONBLCJEGCKF);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005AA5 RID: 23205
		private static readonly MessageParser<TrainPartyGamePlayStartScRsp> _parser = new MessageParser<TrainPartyGamePlayStartScRsp>(() => new TrainPartyGamePlayStartScRsp());

		// Token: 0x04005AA6 RID: 23206
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005AA7 RID: 23207
		public const int RetcodeFieldNumber = 2;

		// Token: 0x04005AA8 RID: 23208
		private uint retcode_;

		// Token: 0x04005AA9 RID: 23209
		public const int ONBLCJEGCKFFieldNumber = 13;

		// Token: 0x04005AAA RID: 23210
		private TrainPartyGameInfo oNBLCJEGCKF_;
	}
}
